package com.icare.common.service.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * IdWork配置加载类
 *
 * @author TianHaibo
 * @create 2018-01-12 17:42
 **/
@ConfigurationProperties(
        prefix = "idworker"
)
public class IdWorkProperties {

    private Integer workId;

    public IdWorkProperties(){}

    public IdWorkProperties(Integer workId){
        this.workId = workId;
    }

    public Integer getWorkId() {
        return workId;
    }

    public void setWorkId(Integer workId) {
        this.workId = workId;
    }
}
